package com.shenmazong.servereduschool.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.shenmazong.servereduschool.pojo.TbCollage;
import com.shenmazong.utils.ResultResponse;

import java.util.List;


public interface ITbCollageService extends IService<TbCollage> {

    ResultResponse registerCollage(TbCollage collage);

    ResultResponse updateCollage(TbCollage collage);

    ResultResponse deleteCollage(TbCollage tbCollage);

    PageInfo findCollageList(Integer pageNum, Integer pageSize, Object tbCollage);

    ResultResponse queryByCollageId(TbCollage tbCollage);

    ResultResponse deleteAll(List<TbCollage> ids);

    ResultResponse findCollage();
}
